<?php

namespace App\Http\Controllers\Admin;

use App\Http\Response;
use App\Sku;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class SkuController extends Controller
{
    use Response;
    public function index(Request $request)
    {
        $skus=Sku::where('goods_id',$request->get('goods_id'))->get();

        return $this->success(200,$skus);
    }
}
